package com.xcity.pomelo.push.msg;

import com.xcity.game.combat.Round;
import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.AbstractMessagePush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_MESSAGE)
public class CombatRoundPush extends AbstractMessagePush {

//	private long nextActionUnitId;
	private Round round;
	
	public CombatRoundPush(Round round/*, CombatUnit nextActionUnit*/) {
		super(MSG_COMBAT_ROUND);
		this.round = round;
//		this.nextActionUnitId = nextActionUnit != null ? nextActionUnit.getId() : 0L;
	}

//	public long getNextActionUnitId() {
//		return nextActionUnitId;
//	}
//
//	public void setNextActionUnitId(long nextActionUnitId) {
//		this.nextActionUnitId = nextActionUnitId;
//	}

	public Round getRound() {
		return round;
	}

	public void setRound(Round round) {
		this.round = round;
	}

}
